/**
* Copyright (c) 2022 - present TinyVue Authors.
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
*
* Use of this source code is governed by an MIT-style license.
*
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
*
*/

.component-css-vars-switch() {
  --ti-switch-on-bg-color: var(--ti-base-color-brand);
  --ti-switch-off-bg-color: var(--ti-base-color-common-3);
  --ti-switch-disabled-bg-color: var(--ti-base-color-common-4);
  --ti-switch-checked-disabled-bg-color: var(--ti-base-color-brand-5);
  --ti-switch-checked-disabled-border-color: var(--ti-base-color-brand-5);
  --ti-switch-disabled-text-color: var(--ti-base-color-bg-1);
  --ti-switch-disabled-dot-bg-color: var(--ti-base-color-bg-1);
  --ti-switch-text-color: var(--ti-base-color-light);
  --ti-switch-dot-bg-color: var(--ti-base-color-light);
  --ti-switch-width: 38px;
  --ti-switch-height: 20px;
  --ti-switch-border-radius: 24px;
  --ti-switch-inner-font-size: var(--ti-common-font-size-base, 12px);
  --ti-switch-dot-size-height-width: 16px;
  --ti-switch-dot-position-left: 16px;
  --ti-switch-dot-offset: calc(var(--ti-switch-dot-size-height-width) + 1px);
  --ti-switch-text-width: 45px;
}
